-
29-09-2010, 20: 23 #1Amministratore
- Registrato dal
- Mar 2009
- Sesso
- Uomo
- Dispositivo
- Samsung Galaxy Nexus
- Operatore
- H3G
- Città
- Firenze
- Messaggi
- 11,646
- Grazie!
- 348
- Ringraziato 550 volte in 325 post
[How To] Publish the app created with App Inventor in the Android Market
Publish the app created with App Inventor in the Android Market
We succeded and the guide should be final.
What I'm about to describe is created to overcome the impossibility of publishing apps created with App Inventor in the Android Market
What you need:
- 1.6 Java Development Kit and Runtime Environment 1.6 already installed on your PC
- Android SDK already installed and running
- Appinventor Extras
- APKTool
- Auto-Sign 6.5
- .... A lot of Patience
1) Creating the key
This procedure is a one-off and we don't need to do those steps every time.
So, thanks to the JAVA SDK we will create a private key, which will be used for publishing our applications
From the Bin folder of the Java SDK we'll execute in a terminal:
The Market requires that applications need to publish the private key has a duration subsequent to October 22, 2033, so we'll use a validity of 10000 days (over 27 years!).codice:keytool.exe -genkey -v -keystore my-release-key.keystore -alias aliasname -keyalg RSA -keysize 2048 -validity 10000
2) Customize the Icon of the application
Download the APK file on a local folder on your computer.
We'll use AutoSigner for those steps: (thanks to Marcor Online info@marcoronline.tk for this part).
Open the apk file with 7zip.
Delete META-INF folder (which is the folder where the application contains the certificates, no longer valid after the change).
The images are generally stored in the folder res\drawable, and in particular the icon of the program is called ya.png. Extract all the images you want with your favorite software (we use 7zip).
Be careful not to change the size in pixels and not to change the name and extension.
Once you have completed the changes you go to put the files again into the apk (using 7zip) by simply dragging and overwriting the original.
Close 7zip and rename your program Launcher.apk.
Extract the contents of the Auto-Sign v0.65.exe and copy the Launcher.apk file inside the folder Auto-Sign\update\app.
Run the tool by the Auto-Sign v0.65.exe executable and iselect from the drop down menù Launcher.apk. (The name should been green. If not, you've made something wrong.)
Now click on Autosign and in a few seconds you'll get a confirmation message.
Inside the folder Auto-Sign\update\app will be a Launcher_signed.apk. You can delete the old file and keep only the signed one.
3) Edit the APK to be compatible with the Market
Decompile our apk
in the just created folder called pre-nomeapk, go editing the AndroidManifest.xml file.codice:apktool -s pre-nomeapk.apk
First we add the version of the application by adding the keyword "android: versionCode" and "android: versionName" in the keyword "package", just like this example:
Specify the minimum version of Android is needed to run the application. Beware that the Market has a bug at the moment, and does not support applications compiled for Froyo android 2.2. Consider the following table:codice:<? xml version = "1.0" encoding = "UTF-8"?> <manifest xmlns: android = "http://schemas.android.com/apk/res/android" package = "appinventor.xyz.xyz" android:versionCode = "1" android:versionName = "1.0">
If your application needs Eclair we enter the following keyword:codice:API Level -> Android Platform Version 1 -> 1.0 2 -> 1.1 3 -> 1.5 4 -> 1.6 5 -> 2.0 6 -> 2.0.1 7 -> 2.1 8 -> 2.2
Finally fix the last things needed to make compatible the apk to the Marketcodice:<uses-sdk android:minSdkVersion="7" />
Remove the android:icon keyworld on this line:
and add it in this line:codice:<activity android:label="123" android:icon="@drawable/ya" android:name=".Screen1">
Also on the line relative to the "application", remove the key "android_: debuggable"codice:<application android:label="XXXXX" android:debuggable="true">
In the end the AndroidManifest.xml will result like this:
Now compile the apk again:codice:<? xml version = "1.0" encoding = "UTF-8"?> <manifest xmlns: android = "http://schemas.android.com/apk/res/android" package = "appinventor.xyz.xyz" android:versionCode = "1" android:versionName = "1.0"> <uses-sdk android:minSdkVersion="3" /> ...... <application android:label="XXXX" android:icon="@drawable/ya"> <activity android:label="123" android:name=".Screen1"> .... </activity> </application> </manifest>
With 7zip open the apk and remove the file in the META-INF folder like:codice:apktool b pre-nomeapk
codice:ANDROIDK.SF ANDROIDK.RSA
-
29-09-2010, 20: 28 #2Amministratore
- Registrato dal
- Mar 2009
- Sesso
- Uomo
- Dispositivo
- Samsung Galaxy Nexus
- Operatore
- H3G
- Città
- Firenze
- Messaggi
- 11,646
- Grazie!
- 348
- Ringraziato 550 volte in 325 post
4) Sign the app and optimize it
From the bin folder of JDK execute in a terminal:
You will be prompted to enter your private key password and once entered, the application will be signed with our private key.codice:jarsigner.exe -verbose -keystore my-release-pre-key.keystore apkname.apk aliasname
We could verify that the signature is successful with the command
Let's move to Android SDK folder and execute the commandcodice:jarsigner.exe -verify -verbose -certs pre-nomeapk.apk
5) Publishcodice:zipalign -v 4 pre-nomeapk.apk name.apk
The app named name.apk is ready to be published in the Market
Thanks to:
The staff of Androidworld.it
The Doctor
mitico303
Alessio70
Verix (moderator of Android-dev.it)
Marcor (Marcoronline.tk)
Created on September 29, 2010, by technofab
-
05-10-2010, 19: 12 #3Baby Android
- Registrato dal
- Oct 2010
- Sesso
- Uomo
- Dispositivo
- HTC Magic
- Operatore
- Fastweb Mobile
- Città
- Groningen
- Messaggi
- 1
- Grazie!
- 0
- Ringraziato 0 volte in 0 post
Hi there,
I'm Jory and I am a member of the Dutch Android forum (Androidworld.nl). I like your tutorial about signing an app for the android market. But at the end of step two I don't get the Launcher-signed.apk in de update/app folder. Do you have any idea what I can do about it? I won't get any error messages. I used winrar instead of 7zip, is that a problem?
Thanks in advance.
-
08-10-2010, 08: 26 #4[f@livio ~] #
- Registrato dal
- Jul 2010
- Sesso
- Uomo
- Dispositivo
- Vedi firma :)
- Operatore
- H3G
- Città
- Firenze
- Messaggi
- 10,060
- Grazie!
- 56
- Ringraziato 316 volte in 284 post
Hi Jory... Welcome there

Rar can be the problem use 7zip insteand.. And ....
Please try to skip the autosign procedure, but only change the icon of the program that is called ya.png.
Be careful not to change the size in pixels and not to change the name and extension.
Open the APK with 7zip, and replace the ya.png and skip to step 3.
Waiting your feedback
Galaxy Nexus yakju ICL53F Ice Cream Sandwich 4.0.2
Galaxy S I9000RSJV3 GingerBread Nobrand 2.3.3
Asus Transformer TF101 Ice Cream Sandwich 4.0.3
-
10-10-2010, 15: 25 #5Baby Android
- Registrato dal
- Oct 2010
- Sesso
- Uomo
- Dispositivo
- Motorola Droid
- Operatore
- Fastweb Mobile
- Città
- Pittsburgh
- Messaggi
- 6
- Grazie!
- 0
- Ringraziato 0 volte in 0 post
complexity
This seems like a great guide, and I and many others would really love to be able to do this, except you have to think about who is reading this. The people who are using google app inventor are not experienced coders, for example I am a mega-novice. If you could write a more simple, step by step guide, to make this easier, you would help many people and have a TON of people looking at this. For example, the first steo is to add that codice to the bin folder of the JAVA bin folder. How do you do that? open the bin folder, then what? I and many novices are confused... thanks
-
10-10-2010, 15: 38 #6[doc@livio ~] #
- Registrato dal
- Jul 2010
- Sesso
- Uomo
- Dispositivo
- I'm Watch
- Operatore
- Swisscom (Svizzera)
- Città
- Bahía de Cata
- Messaggi
- 4,800
- Grazie!
- 0
- Ringraziato 186 volte in 174 post
Hi zzany, pleased to meet u.
Open up your Microsoft Dos terminal.From the Bin folder of the Java SDK we'll execute in a terminal:
codice:
keytool.exe -genkey -v -keystore my-release-key.keystore -alias aliasname -keyalg RSA -keysize 2048 -validity 10000
How? Start->Execute->Put "cmd.exe" and press Enter
Browse through the folders with the Dos Terminal till the folder named "Bin" in your Java SDK installation folder.
So, insert the string "keytool.exe -genkey -v -keystore my-release-key.keystore -alias aliasname -keyalg RSA -keysize 2048 -validity 10000" without " " and press Enter
It appeared more difficult than reality isn't it?
Ultima modifica di iL Dottore; 10-10-2010 a 15: 41
No te preguntes qué puede hacer tu comunidad por ti, pregúntate que puedes hacer tú por tu comunidad.
-
10-10-2010, 18: 25 #7Baby Android
- Registrato dal
- Oct 2010
- Sesso
- Uomo
- Dispositivo
- Motorola Droid
- Operatore
- Fastweb Mobile
- Città
- Pittsburgh
- Messaggi
- 6
- Grazie!
- 0
- Ringraziato 0 volte in 0 post
wow, fast response! thanks, that would be very helpful if i wasn't such a novice. So i navigated to cmd, and from there I want to navigate to the C:\Program Files (x86)\Java\jre6\bin, so I would put in "start C:\Program Files (x86)\Java\jre6\bin" except I get the error that the system cannot find the file C:\Program. I do not think the problem is with the code because I can access a similar location, such as "start C:\Intel\Logs" and it will take me there. Again I apologize, as I have very little idea as to what I am doing. IF you would like to speak to me somewhere than this forum taking up posts, let me know and I can share with you my email or Instant Messenger screename.
-
10-10-2010, 18: 36 #8[doc@livio ~] #
- Registrato dal
- Jul 2010
- Sesso
- Uomo
- Dispositivo
- I'm Watch
- Operatore
- Swisscom (Svizzera)
- Città
- Bahía de Cata
- Messaggi
- 4,800
- Grazie!
- 0
- Ringraziato 186 volte in 174 post
I'm sorry I dunno how to browse windows folders correctly cause I left microsoft 3 years ago...
Probably u get those error messages cause the "Program Files (x86)" path has spaces...don't u know somebody that can help you directly on your pc?No te preguntes qué puede hacer tu comunidad por ti, pregúntate que puedes hacer tú por tu comunidad.
-
10-10-2010, 18: 59 #9Baby Android
- Registrato dal
- Oct 2010
- Sesso
- Uomo
- Dispositivo
- Motorola Droid
- Operatore
- Fastweb Mobile
- Città
- Pittsburgh
- Messaggi
- 6
- Grazie!
- 0
- Ringraziato 0 volte in 0 post
yes i'm sure i'll find somebody, thank you. But just keep in mind the target audience. The average person using app inventor is me, a non-programer
-
10-10-2010, 19: 26 #10Baby Android
- Registrato dal
- Oct 2010
- Sesso
- Uomo
- Dispositivo
- Motorola Droid
- Operatore
- Fastweb Mobile
- Città
- Pittsburgh
- Messaggi
- 6
- Grazie!
- 0
- Ringraziato 0 volte in 0 post
sorry for the double post, but my italian isn't good, so I don't know how to edit it. Anyways, I managed to navigate to the bin folder of the Java JDK and executed the first line of code, unfortunately it is asking for a keystore password and when I attempt to type anything it will not allow me. Again I apologize for all of the questions and double post
LinkBacks (?)
-
Untitled document
Refback This threadOggi, 06: 15 -
Blog del DD - Página 2
Refback This thread16-05-2012, 21: 29 -
16-05-2012, 17: 05
-
10-04-2012, 16: 33
-
Is it possible to use Google App Inventor for the Android to deploy applications that are developed into the Android market? - Quora
Refback This thread08-04-2012, 09: 57 -
08-04-2012, 09: 45
-
02-04-2012, 03: 47
-
26-03-2012, 20: 52
-
26-03-2012, 19: 01
-
20-03-2012, 12: 46
-
20-03-2012, 07: 44
-
14-03-2012, 01: 44
-
05-03-2012, 10: 06
-
21-02-2012, 04: 38
-
15-02-2012, 12: 02
-
03-02-2012, 10: 47
-
Spatial Miscellany
Refback This thread01-02-2012, 10: 00 -
Deus Ex: Human Revolution Achievements Microsoft Xbox 360 Acheivment Lists & Guides
Refback This thread29-01-2012, 23: 42 -
05-01-2012, 21: 42
-
14-11-2011, 07: 36
-
13-10-2011, 03: 10
-
28-09-2011, 15: 22
-
27-09-2011, 16: 04
-
12-09-2011, 01: 06
-
23-08-2011, 19: 38
-
2?-5?? - parky
Refback This thread22-08-2011, 13: 33 -
12-08-2011, 01: 49
-
11-08-2011, 01: 54
-
09-08-2011, 12: 23
-
05-08-2011, 18: 16
-
23-07-2011, 00: 18
-
&#x202a;How to upload Google App Inventor Apps To The Market&#x202c;&rlm; - YouTube
Refback This thread20-07-2011, 01: 26 -
06-07-2011, 08: 20
-
Issue 56 - app-inventor-for-android - Please support the export of apps to Market - App Inventor for Android - Google Project Hosting
Refback This thread30-06-2011, 14: 39 -
29-06-2011, 21: 43
-
YouTube - &#x202a;App Inventor Tutorial: Sign A Package&#x202c;&rlm;
Refback This thread26-06-2011, 20: 18 -
18-06-2011, 14: 48
-
Publicar una aplicacion o app creada con app inventor en Android Market | Leetu.com
Refback This thread14-06-2011, 17: 55 -
11-06-2011, 04: 31
-
App Inventor Blog
Refback This thread05-06-2011, 07: 23 -
03-06-2011, 04: 53
-
31-05-2011, 05: 17
-
Sj's Arena
Refback This thread25-05-2011, 20: 04 -
YouTube - &#x202a;How to upload Google App Inventor Apps To The Market&#x202c;&rlm;
Refback This thread19-05-2011, 18: 24 -
TomSipplREnotes: [How To] Publish the app created with App Inventor in the Android Market - App Inventor - Forum Android Italia - AndroidWorld.it
Refback This thread15-05-2011, 03: 10 -
11-05-2011, 11: 49
-
How To Publish Android Apk To Android App Market | Android Phone Reviews, Android Tips, Game and Apps
Refback This thread09-05-2011, 07: 31 -
13-04-2011, 16: 57
-
13-04-2011, 10: 14
-
Google App Inventor: How To Publish App Inventor Applications In The Android Market
Refback This thread12-04-2011, 18: 25
Discussioni simili
-
[Guida] Pubblicare le App create con App Inventor sul Market
Da technofab nel forum App InventorRisposte: 106Ultimo messaggio: 02-10-2011, 17: 03 -
App inventor e market
Da technofab nel forum Problemi con il forum e SegnalazioniRisposte: 17Ultimo messaggio: 30-09-2010, 14: 31 -
App Inventor e Market
Da technofab nel forum App InventorRisposte: 7Ultimo messaggio: 29-09-2010, 09: 32


LinkBack URL
About LinkBacks





Rispondi quotando

Segnalibri